package com.iwop.moto.service;

import com.iwop.moto.model.SuperRecordModel;

import java.util.List;

/**
 * @author huyuangui on 2016/7/19.
 */
public interface IActivityService {
    SuperRecordModel  selectByPrimaryKey(SuperRecordModel SRModel);
    SuperRecordModel  save(SuperRecordModel SRModel);
    int  countAll(SuperRecordModel SRModel);
    void  deleteByPrimaryKey(SuperRecordModel SRModel);





    /**
     * 查看有多少人参与
     * @param SRModel
     * @return
     */
    List<SuperRecordModel> selectJionActivity(SuperRecordModel SRModel);

    /***
     * 保存参与
     * @param tempRecodeModel
     * @return
     */
    SuperRecordModel saveJion(SuperRecordModel tempRecodeModel);
}
